import Vue from 'vue'
import App from '@/App.vue'
import router from '@/router'
import store from '@/store'
// 加载 element-ui 全局组件库
import ElementUI from 'element-ui'
// 加载 element-ui 全局样式
import 'element-ui/lib/theme-chalk/index.css'

// 导入全局样式表
import '@/assets/styles/global.css'
import '@/assets/styles/reset_element.css'

import { message } from '@/assets/js/resetMessage';
Vue.use(ElementUI);
Vue.prototype.$message = message; //重写message提示框  一定要放在Vue.use(ElementUI)之后

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
